#pragma once
#include <d3dx9.h>
#include "Node.h"

struct Light: public Node
{
	enum LightType
	{
		LT_POINT,
		LT_DIRECT
	} lightType;
	D3DXCOLOR diffuse;
	D3DXVECTOR3 direction;
	float randge;
	float intensity;

	Light( Light::LightType type )
		:Node(), lightType(type)
	{
	}
};